Skip to content

Replace use of _SpanPointer and AgentWriter#812

Open
rithikanarayan wants to merge 17 commits intomainfrom
rithika.narayan/fix-span-pointer-use
Open

Replace use of _SpanPointer and AgentWriter#812
rithikanarayan wants to merge 17 commits intomainfrom
rithika.narayan/fix-span-pointer-use

Conversation

@rithikanarayan
Copy link
Copy Markdown
Contributor

@rithikanarayan rithikanarayan commented May 1, 2026

What does this PR do?

Removes the use of _SpanPointer and AgentWriter, which were internal dd-trace-py APIs deprecated in the 4.8.0 release.

Motivation

Make datadog-lambda-python compatible with dd-trace-py v4.8.0

Testing Guidelines

CI.

Additional Notes

Types of Changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)

@rithikanarayan rithikanarayan marked this pull request as ready for review May 1, 2026 17:14
@rithikanarayan rithikanarayan requested review from a team as code owners May 1, 2026 17:14
@rithikanarayan rithikanarayan changed the title Replace use of _SpanPointer Replace use of _SpanPointer and AgentWriter May 1, 2026
Comment thread tests/test_wrapper.py
Comment thread tests/test_tracing.py
extra_attributes=None,
):
extra_attributes = extra_attributes or {}
return SimpleNamespace(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, clever

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants